import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 通知规格*/
// 创建
export const systemNoticeCreate = (data) => postRequest('/system/notice/create', data);

// 更新
export const systemNoticeUpdate = (data) => putRequest('/system/notice/update', data);

// 删除
export const systemNoticeDelete = (params) => deleteRequest('/system/notice/delete', params);

// 获得
export const systemNoticeGet = (params) => getRequest('/system/notice/get', params);

// 分页
export const systemNoticePage = (params) => getRequest('/system/notice/page', params);

export const systemNoticeTopped = (data) => postRequest('/system/notice/topped', data);
export const systemNoticeClearTopped = (data) => postRequest('/system/notice/clear-topped', data);
export const systemNoticeShow = (data) => getRequest('/system/notice/show', data);
export const systemNoticeClearRead = (data) => postRequest('/system/notice/read', data);
